package com.rk.cust.common.exception;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

@AllArgsConstructor
@Getter
@ToString
public enum  ErrorCode {

    SUCCESS("000000","success"),

    INTERNAL_SERVER_ERROR("mc.nbcb.cust.internal","系统繁忙"),

    ACTIVATE_WHEN_STATUS_DELETE("mc.nbcb.cust.active.0001","无法激活已删除的企业"),

    ACTIVATE_WHEN_STATUS_ACTIVE("mc.nbcb.cust.active.0002", "企业已经是激活状态了，无需重复激活"),

    ACTIVATE_WHEN_STATUS_UNKOWN("mc.nbcb.cust.active.0002", "企业状态未明"),

    CUST_NOT_EXISTS("mc.nbcb.cust.not.exists","企业不存在");



    private String errorCode;

    private String errorMsg;
}
